﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zmx1
{
    class Square:shape
    {
    private double sideLen;
        public double SideLen
        {
               get { return this.sideLen; }
            set { this.sideLen = value; }
        }
        public override void GetArea(double a)
        {
               base.GetArea(a);
            double Area;
            Area = a * a;
            Console.WriteLine("正方形的面积为：{0}", Area);
        }
    }
}
